<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<link rel="stylesheet" href="css/swiper-3.4.0.min.css" />
		<style>
			.swiper-container {
				 width: 600px;
				 height: 300px;
			}
			img{width: 600px; height: 300px;}
		</style>
	</head>
	<body>
		<!--git测试-->
		<div class="swiper-container">
		    <div class="swiper-wrapper">
		        <div class="swiper-slide"><img src="img/huge.jpg"/></div>
		        <div class="swiper-slide"><img src="img/hugea.jpg"/></div>
		        <div class="swiper-slide"><img src="img/timg.jpg"/></div>
		    </div>
		    <!-- 如果需要分页器 -->
		    <div class="swiper-pagination"></div>
		    
		    <!-- 如果需要导航按钮 -->
		    <div class="swiper-button-prev"></div>
		    <div class="swiper-button-next"></div>
		    
		    <!-- 如果需要滚动条 -->
		    <div class="swiper-scrollbar"></div>
        </div>
        <script src="js/swiper-3.4.0.min.js"></script>
        <script>        
			  var mySwiper = new Swiper ('.swiper-container', {
			    loop: true,
			    autoplay:2000,
			    // 如果需要分页器
			    pagination: '.swiper-pagination',
			    
			    // 如果需要前进后退按钮
			    nextButton: '.swiper-button-next',
			    prevButton: '.swiper-button-prev',
			    
			    // 如果需要滚动条
			    scrollbar: '.swiper-scrollbar',
			  })        
        </script>

	</body>
</html>
